//
// Created by antler on 2019/1/8.
//

#ifndef LUA_FILEUTILS_H
#define LUA_FILEUTILS_H

#include <string>
#include <vector>

using ResizableBuffer = std::vector<unsigned char>;

namespace FileUtils {
    bool getFileData(const std::string &filePath, ResizableBuffer &buf);

    bool getFileDataFromZip(const std::string &zipFilePath, const std::string &fileName,
                            std::vector<char> &buf);
};

#endif //LUA_FILEUTILS_H